﻿using System;
using System.Collections.Generic;
using System.IO;

namespace Borg
{
    [Serializable]
    public class RuntimeConfiguration
    {
        public DirectoryInfo RootDirectory { get; set; }
        public Dictionary<string, string> Arguments { get; set; }
        public List<FileInfo> DiscoveryList { get; set; }
        public List<string> BaseDirectories { get; set; }

        public string LogfilePath { get; set; }
        public int LogbufferSize { get; set; }

        public Repository Repository { get; set; }
        public VerbosityLevel VerbosityLevel { get; set; }
        public List<LogEventArgs> InitialLogs { get; set; }

        public RuntimeConfiguration Clone()
        {
            return (RuntimeConfiguration)MemberwiseClone();
        }
    }
}

